import type { BaseTableConfig } from '@/components/base-ui/base-table/type';
import { widthLevel1, widthLevel2 } from '@/config';

export const tableConfig: BaseTableConfig = {
    items: [
        {
            modelKey: 'processCode',
            columnProps: {
                label: '工序编码',
                width: widthLevel2
            }
        },
        {
            modelKey: 'processName',
            columnProps: {
                label: '工序名称',
                width: widthLevel2
            }
        },
        {
            modelKey: 'remarks',
            columnProps: {
                label: '工序描述',
                width: widthLevel1
            }
        },
        {
            modelKey: 'processEquipment',
            slotName: 'processEquipment',
            columnProps: {
                label: '工序设备',
                width: widthLevel1
            }
        },
        {
            modelKey: 'creator',
            columnProps: {
                label: '创建人',
                width: widthLevel2
            }
        },
        {
            modelKey: 'createTime',
            columnProps: {
                label: '创建时间',
                width: widthLevel1
            }
        }
    ]
};
